<%--
  Created by IntelliJ IDEA.
  User: guzhe
  Date: 2020/12/11
  Time: 9:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>shows</title>
</head>
<body>
<%
String userName=(String)session.getAttribute("user");
if(userName==null){
    out.println("<script>alert('非法访问');location.href=('login.html')</script>");
}else{
%>
<%=request.getAttribute("hello")%>
<%=session.getAttribute("hello2")%>
<%}%>
</body>
</html>
